package videoCut;

public class Main {

    public static void main(String[] args) {
        //视频源文件路径
        String inputPath = "C:\\Users\\qing\\Downloads\\9_156d73d3f124901c974008a011389139_0_cae3.mp4";
        //剪辑开始时间
        String start = "00:00:00.000";
        //剪辑时长
        String duration = "00:00:02.700";
        //验证ffmpeg是否就绪
//        if (FFMpegShellUtil.isFFMpegReadied()) {
            //创建ffmpeg裁剪指令
            String shell = FFMpegShellUtil.createCutShell(inputPath, start, duration);
            //执行剪辑操作
            VideoCutTask.exec(shell);
//        }
    }
}
